package main

import (
	"project/jwt-prac/routes"
	_ "project/jwt-prac/validates"

	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	r.LoadHTMLGlob("resources/templates/*.html")
	r.RedirectTrailingSlash = true
	routes.InitRoutes(r)
	r.RunTLS(":8080", "cert.pem", "key.pem")
}
